<!-- HTML header for doxygen 1.8.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/xhtml;charset=utf-8" http-equiv="Content-Type"/>
<meta content="IE=9" http-equiv="X-UA-Compatible"/>
<meta content="Doxygen 1.8.13" name="generator"/>
<title>OpenCV: cv::TickMeter Class Reference</title>
<link href="../../opencv.ico" rel="shortcut icon" type="image/x-icon"/>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script src="../../jquery.js" type="text/javascript"></script>
<script src="../../dynsections.js" type="text/javascript"></script>
<script src="../../tutorial-utils.js" type="text/javascript"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script src="../../search/searchdata.js" type="text/javascript"></script>
<script src="../../search/search.js" type="text/javascript"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
//<![CDATA[
MathJax.Hub.Config(
{
  TeX: {
      Macros: {
          matTT: [ "\\[ \\left|\\begin{array}{ccc} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{array}\\right| \\]", 9],
          fork: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ \\end{array} \\right.", 4],
          forkthree: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ \\end{array} \\right.", 6],
          forkfour: ["\\left\\{ \\begin{array}{l l} #1 & \\mbox{#2}\\\\ #3 & \\mbox{#4}\\\\ #5 & \\mbox{#6}\\\\ #7 & \\mbox{#8}\\\\ \\end{array} \\right.", 8],
          vecthree: ["\\begin{bmatrix} #1\\\\ #2\\\\ #3 \\end{bmatrix}", 3],
          vecthreethree: ["\\begin{bmatrix} #1 & #2 & #3\\\\ #4 & #5 & #6\\\\ #7 & #8 & #9 \\end{bmatrix}", 9],
          cameramatrix: ["#1 = \\begin{bmatrix} f_x & 0 & c_x\\\\ 0 & f_y & c_y\\\\ 0 & 0 & 1 \\end{bmatrix}", 1],
          distcoeffs: ["(k_1, k_2, p_1, p_2[, k_3[, k_4, k_5, k_6 [, s_1, s_2, s_3, s_4[, \\tau_x, \\tau_y]]]]) \\text{ of 4, 5, 8, 12 or 14 elements}"],
          distcoeffsfisheye: ["(k_1, k_2, k_3, k_4)"],
          hdotsfor: ["\\dots", 1],
          mathbbm: ["\\mathbb{#1}", 1],
          bordermatrix: ["\\matrix{#1}", 1]
      }
  }
}
);
//]]>
</script><script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js" type="text/javascript"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css"/>
<link href="../../stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<!--#include virtual="/google-search.html"-->
<table cellpadding="0" cellspacing="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="../../opencv-logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">OpenCV
    <span id="projectnumber">4.5.2</span>
   </div>
   <div id="projectbrief">Open Source Computer Vision</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
<script src="../../menudata.js" type="text/javascript"></script>
<script src="../../menu.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow" onkeydown="return searchBox.OnSearchSelectKey(event)" onmouseout="return searchBox.OnSearchSelectHide()" onmouseover="return searchBox.OnSearchSelectShow()">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe frameborder="0" id="MSearchResults" name="MSearchResults" src="javascript:void(0)">
</iframe>
</div>
<div class="navpath" id="nav-path">
  <ul>
<li class="navelem"><a class="el" href="../../d2/d75/namespacecv.html">cv</a></li><li class="navelem"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html">TickMeter</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="../../d3/df3/classcv_1_1TickMeter-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">cv::TickMeter Class Reference<div class="ingroups"><a class="el" href="../../d0/de1/group__core.html">Core functionality</a> » <a class="el" href="../../db/de0/group__core__utils.html">Utility and system functions and macros</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<p>a Class to measure passing time.  
 <a href="../../d9/d6f/classcv_1_1TickMeter.html#details">More...</a></p>
<p><code>#include &lt;opencv2/core/utility.hpp&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3d3b77ba2aa73b05e9c79358ce44eeac"><td align="right" class="memItemLeft" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a3d3b77ba2aa73b05e9c79358ce44eeac">TickMeter</a> ()</td></tr>
<tr class="memdesc:a3d3b77ba2aa73b05e9c79358ce44eeac"><td class="mdescLeft"> </td><td class="mdescRight">the default constructor  <a href="#a3d3b77ba2aa73b05e9c79358ce44eeac">More...</a><br/></td></tr>
<tr class="separator:a3d3b77ba2aa73b05e9c79358ce44eeac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d1b225d1805f4e403e9f8ea898b22d5"><td align="right" class="memItemLeft" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a3d1b225d1805f4e403e9f8ea898b22d5">getAvgTimeMilli</a> () const</td></tr>
<tr class="memdesc:a3d1b225d1805f4e403e9f8ea898b22d5"><td class="mdescLeft"> </td><td class="mdescRight">returns average time in milliseconds  <a href="#a3d1b225d1805f4e403e9f8ea898b22d5">More...</a><br/></td></tr>
<tr class="separator:a3d1b225d1805f4e403e9f8ea898b22d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fdbe3a7a4fc5d687734d2643f5e8b89"><td align="right" class="memItemLeft" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a3fdbe3a7a4fc5d687734d2643f5e8b89">getAvgTimeSec</a> () const</td></tr>
<tr class="memdesc:a3fdbe3a7a4fc5d687734d2643f5e8b89"><td class="mdescLeft"> </td><td class="mdescRight">returns average time in seconds  <a href="#a3fdbe3a7a4fc5d687734d2643f5e8b89">More...</a><br/></td></tr>
<tr class="separator:a3fdbe3a7a4fc5d687734d2643f5e8b89"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acb1c5989f51eedcb2605787dd54b96fb"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga7cde0074dfd288f2d70c0e035dacb28a">int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#acb1c5989f51eedcb2605787dd54b96fb">getCounter</a> () const</td></tr>
<tr class="memdesc:acb1c5989f51eedcb2605787dd54b96fb"><td class="mdescLeft"> </td><td class="mdescRight">returns internal counter value.  <a href="#acb1c5989f51eedcb2605787dd54b96fb">More...</a><br/></td></tr>
<tr class="separator:acb1c5989f51eedcb2605787dd54b96fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2fcc88e9c252d1fd2a1404c13b90ae22"><td align="right" class="memItemLeft" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a2fcc88e9c252d1fd2a1404c13b90ae22">getFPS</a> () const</td></tr>
<tr class="memdesc:a2fcc88e9c252d1fd2a1404c13b90ae22"><td class="mdescLeft"> </td><td class="mdescRight">returns average FPS (frames per second) value.  <a href="#a2fcc88e9c252d1fd2a1404c13b90ae22">More...</a><br/></td></tr>
<tr class="separator:a2fcc88e9c252d1fd2a1404c13b90ae22"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8faced8c9ddd99cb01619e09a0ec6ce6"><td align="right" class="memItemLeft" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a8faced8c9ddd99cb01619e09a0ec6ce6">getTimeMicro</a> () const</td></tr>
<tr class="memdesc:a8faced8c9ddd99cb01619e09a0ec6ce6"><td class="mdescLeft"> </td><td class="mdescRight">returns passed time in microseconds.  <a href="#a8faced8c9ddd99cb01619e09a0ec6ce6">More...</a><br/></td></tr>
<tr class="separator:a8faced8c9ddd99cb01619e09a0ec6ce6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afb68ae3f1d181fec9d1cd5d80bd3bdce"><td align="right" class="memItemLeft" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#afb68ae3f1d181fec9d1cd5d80bd3bdce">getTimeMilli</a> () const</td></tr>
<tr class="memdesc:afb68ae3f1d181fec9d1cd5d80bd3bdce"><td class="mdescLeft"> </td><td class="mdescRight">returns passed time in milliseconds.  <a href="#afb68ae3f1d181fec9d1cd5d80bd3bdce">More...</a><br/></td></tr>
<tr class="separator:afb68ae3f1d181fec9d1cd5d80bd3bdce"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9e21f1bdbe5089c7288b8df81e5ac4a1"><td align="right" class="memItemLeft" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a9e21f1bdbe5089c7288b8df81e5ac4a1">getTimeSec</a> () const</td></tr>
<tr class="memdesc:a9e21f1bdbe5089c7288b8df81e5ac4a1"><td class="mdescLeft"> </td><td class="mdescRight">returns passed time in seconds.  <a href="#a9e21f1bdbe5089c7288b8df81e5ac4a1">More...</a><br/></td></tr>
<tr class="separator:a9e21f1bdbe5089c7288b8df81e5ac4a1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af60ab69115832076fcfb19b7202fea28"><td align="right" class="memItemLeft" valign="top"><a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga7cde0074dfd288f2d70c0e035dacb28a">int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#af60ab69115832076fcfb19b7202fea28">getTimeTicks</a> () const</td></tr>
<tr class="memdesc:af60ab69115832076fcfb19b7202fea28"><td class="mdescLeft"> </td><td class="mdescRight">returns counted ticks.  <a href="#af60ab69115832076fcfb19b7202fea28">More...</a><br/></td></tr>
<tr class="separator:af60ab69115832076fcfb19b7202fea28"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac9a8a593b4bd1c4ea6a1076c735260dd"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#ac9a8a593b4bd1c4ea6a1076c735260dd">reset</a> ()</td></tr>
<tr class="memdesc:ac9a8a593b4bd1c4ea6a1076c735260dd"><td class="mdescLeft"> </td><td class="mdescRight">resets internal values.  <a href="#ac9a8a593b4bd1c4ea6a1076c735260dd">More...</a><br/></td></tr>
<tr class="separator:ac9a8a593b4bd1c4ea6a1076c735260dd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a564bc8b0bebcfc6c96f85fc48643e273"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#a564bc8b0bebcfc6c96f85fc48643e273">start</a> ()</td></tr>
<tr class="memdesc:a564bc8b0bebcfc6c96f85fc48643e273"><td class="mdescLeft"> </td><td class="mdescRight">starts counting ticks.  <a href="#a564bc8b0bebcfc6c96f85fc48643e273">More...</a><br/></td></tr>
<tr class="separator:a564bc8b0bebcfc6c96f85fc48643e273"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa6dfbdc68373d10e371bd35f92c7adb3"><td align="right" class="memItemLeft" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="../../d9/d6f/classcv_1_1TickMeter.html#aa6dfbdc68373d10e371bd35f92c7adb3">stop</a> ()</td></tr>
<tr class="memdesc:aa6dfbdc68373d10e371bd35f92c7adb3"><td class="mdescLeft"> </td><td class="mdescRight">stops counting ticks.  <a href="#aa6dfbdc68373d10e371bd35f92c7adb3">More...</a><br/></td></tr>
<tr class="separator:aa6dfbdc68373d10e371bd35f92c7adb3"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a id="details" name="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>a Class to measure passing time. </p>
<p>The class computes passing time by counting the number of ticks per second. That is, the following code computes the execution time in seconds: </p><div class="fragment"><div class="line">        <a class="code" href="../../d9/d6f/classcv_1_1TickMeter.html#a3d3b77ba2aa73b05e9c79358ce44eeac">TickMeter</a> tm;</div><div class="line">        tm.start();</div><div class="line">        <span class="comment">// do something ...</span></div><div class="line">        tm.stop();</div><div class="line">        cout &lt;&lt; <span class="stringliteral">"Total time: "</span> &lt;&lt; tm.getTimeSec() &lt;&lt; endl;</div></div><!-- fragment --><p> It is also possible to compute the average time over multiple runs: </p><div class="fragment"><div class="line">        <a class="code" href="../../d9/d6f/classcv_1_1TickMeter.html#a3d3b77ba2aa73b05e9c79358ce44eeac">TickMeter</a> tm;</div><div class="line">        <span class="keywordflow">for</span> (<span class="keywordtype">int</span> i = 0; i &lt; COUNT; i++)</div><div class="line">        {</div><div class="line">            tm.start();</div><div class="line">            <span class="comment">// do something ...</span></div><div class="line">            tm.stop();</div><div class="line">        }</div><div class="line">        cout &lt;&lt; <span class="stringliteral">"Average time per iteration in seconds: "</span> &lt;&lt; tm.getAvgTimeSec() &lt;&lt; endl;</div><div class="line">        cout &lt;&lt; <span class="stringliteral">"Average FPS: "</span> &lt;&lt; tm.getFPS() &lt;&lt; endl;</div></div><!-- fragment --> <dl class="section see"><dt>See also</dt><dd><a class="el" href="../../db/de0/group__core__utils.html#gae73f58000611a1af25dd36d496bf4487" title="Returns the number of ticks. ">getTickCount</a>, <a class="el" href="../../db/de0/group__core__utils.html#ga705441a9ef01f47acdc55d87fbe5090c" title="Returns the number of ticks per second. ">getTickFrequency</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="../../d4/db9/samples_2dnn_2object_detection_8cpp-example.html#_a7">samples/dnn/object_detection.cpp</a>.</dd>
</dl></div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3d3b77ba2aa73b05e9c79358ce44eeac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d3b77ba2aa73b05e9c79358ce44eeac">◆ </a></span>TickMeter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">cv::TickMeter::TickMeter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>&lt;TickMeter object&gt;</td><td>=</td><td>cv.TickMeter(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>the default constructor </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3d1b225d1805f4e403e9f8ea898b22d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d1b225d1805f4e403e9f8ea898b22d5">◆ </a></span>getAvgTimeMilli()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cv::TickMeter::getAvgTimeMilli </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getAvgTimeMilli(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns average time in milliseconds </p>
</div>
</div>
<a id="a3fdbe3a7a4fc5d687734d2643f5e8b89"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3fdbe3a7a4fc5d687734d2643f5e8b89">◆ </a></span>getAvgTimeSec()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cv::TickMeter::getAvgTimeSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getAvgTimeSec(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns average time in seconds </p>
</div>
</div>
<a id="acb1c5989f51eedcb2605787dd54b96fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb1c5989f51eedcb2605787dd54b96fb">◆ </a></span>getCounter()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga7cde0074dfd288f2d70c0e035dacb28a">int64</a> cv::TickMeter::getCounter </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getCounter(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns internal counter value. </p>
</div>
</div>
<a id="a2fcc88e9c252d1fd2a1404c13b90ae22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2fcc88e9c252d1fd2a1404c13b90ae22">◆ </a></span>getFPS()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cv::TickMeter::getFPS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getFPS(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns average FPS (frames per second) value. </p>
</div>
</div>
<a id="a8faced8c9ddd99cb01619e09a0ec6ce6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8faced8c9ddd99cb01619e09a0ec6ce6">◆ </a></span>getTimeMicro()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cv::TickMeter::getTimeMicro </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getTimeMicro(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns passed time in microseconds. </p>
</div>
</div>
<a id="afb68ae3f1d181fec9d1cd5d80bd3bdce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb68ae3f1d181fec9d1cd5d80bd3bdce">◆ </a></span>getTimeMilli()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cv::TickMeter::getTimeMilli </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getTimeMilli(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns passed time in milliseconds. </p>
</div>
</div>
<a id="a9e21f1bdbe5089c7288b8df81e5ac4a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e21f1bdbe5089c7288b8df81e5ac4a1">◆ </a></span>getTimeSec()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double cv::TickMeter::getTimeSec </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getTimeSec(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns passed time in seconds. </p>
</div>
</div>
<a id="af60ab69115832076fcfb19b7202fea28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af60ab69115832076fcfb19b7202fea28">◆ </a></span>getTimeTicks()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="../../d1/d1b/group__core__hal__interface.html#ga7cde0074dfd288f2d70c0e035dacb28a">int64</a> cv::TickMeter::getTimeTicks </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>retval</td><td>=</td><td>cv.TickMeter.getTimeTicks(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>returns counted ticks. </p>
</div>
</div>
<a id="ac9a8a593b4bd1c4ea6a1076c735260dd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac9a8a593b4bd1c4ea6a1076c735260dd">◆ </a></span>reset()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::TickMeter::reset </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.TickMeter.reset(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>resets internal values. </p>
</div>
</div>
<a id="a564bc8b0bebcfc6c96f85fc48643e273"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a564bc8b0bebcfc6c96f85fc48643e273">◆ </a></span>start()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::TickMeter::start </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.TickMeter.start(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>starts counting ticks. </p>
</div>
</div>
<a id="aa6dfbdc68373d10e371bd35f92c7adb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6dfbdc68373d10e371bd35f92c7adb3">◆ </a></span>stop()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void cv::TickMeter::stop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table><table class="python_language"><tr><th colspan="999" style="text-align:left">Python:</th></tr><tr><td style="width: 20px;"></td><td>None</td><td>=</td><td>cv.TickMeter.stop(</td><td class="paramname"></td><td>)</td></tr></table>
</div><div class="memdoc">
<p>stops counting ticks. </p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>opencv2/core/<a class="el" href="../../d1/d4e/utility_8hpp.html">utility.hpp</a></li>
</ul>
</div><!-- contents -->
<!-- HTML footer for doxygen 1.8.6-->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 2 2021 11:36:43 for OpenCV by  <a href="http://www.doxygen.org/index.html">
<img alt="doxygen" class="footer" src="../../doxygen.png"/>
</a> 1.8.13
</small></address>
<script type="text/javascript">
//<![CDATA[
addTutorialsButtons();
//]]>
</script>
</body>
</html>
